package com.jy.rhin.infra.cda.dao.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.chushengyxzm.ChuShengYXZMVo;
import com.jy.rhin.infra.cda.dao.ChuShengYXZMDao;
import com.jy.rhin.infra.cda.mapper.ChuShengYXZMMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChuShengYXZMDaoImpl implements ChuShengYXZMDao {
	@Resource
	private ChuShengYXZMMapper chuShengYXZMMapper;

	@Override
	public ChuShengYXZMVo getByBH(String fuWuJGBH, String chuShengZMId) {
		QueryWrapper<ChuShengYXZMVo> queryWrapper = new QueryWrapper<>();
		queryWrapper.eq("a.FUWUJGBH", fuWuJGBH);
		queryWrapper.eq("a.CHUSHENGZMID", chuShengZMId);
		return chuShengYXZMMapper.getOne(queryWrapper);
	}

}
